package com.goldcn.picture.dao;

import com.goldcn.picture.dto.QueryDetailDto;
import com.goldcn.picture.model.PicLabelDetail;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PicLabelDetailMapper {
    int deleteByPrimaryKey(Long labeldetailid);

    int insert(PicLabelDetail record);

    int insertSelective(PicLabelDetail record);

    PicLabelDetail selectByPrimaryKey(Long labeldetailid);

    int updateByPrimaryKeySelective(PicLabelDetail record);

    int updateByPrimaryKey(PicLabelDetail record);

    int deleteByPictureId(Long pictureId);

    int deleteByLabelId(Long labeldid);

    List<PicLabelDetail> selectListByLabelId(Long labeldid);

    int selectByPicDetail(QueryDetailDto queryDetailDto);

}
